package com.zjw.demo.vertx.starter.utils;

import java.util.concurrent.*;

public final class ThreadPool {

  private static final ExecutorService threadPool = new ThreadPoolExecutor(50, 100, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>());


  public static void submit(Runnable task) {
    threadPool.submit(task);
  }
}
